|
www.mxdraw.com
|
得到一个Image文件的像素宽高
[helpstring("method GetImageSize")]
HRESULT GetImageSize([in] BSTR sImageFile, [out,retval] IMxDrawPoint** ppSize);|
参数 |
说明 |
|
[in] BSTR sImageFile |
Image文件名 |
|
[out,retval] IMxDrawPoint** ppSize |
返回的像素宽高,ppSize.x是像素宽,ppSize.y是像素高, |
失败,返回ppSize为null.